\doxysection{filtering\+\_\+functions\+\_\+f16.\+h}
\hypertarget{filtering__functions__f16_8h_source}{}\label{filtering__functions__f16_8h_source}\index{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/dsp/filtering\_functions\_f16.h@{C:/Users/ASUS/Desktop/dm-\/ctrlH7-\/balance-\/9025test/Middlewares/ST/ARM/DSP/Include/dsp/filtering\_functions\_f16.h}}

\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/******************************************************************************}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ @file\ \ \ \ \ filtering\_functions\_f16.h}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *\ @brief\ \ \ \ Public\ header\ file\ for\ CMSIS\ DSP\ Library}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ @version\ \ V1.10.0}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ @date\ \ \ \ \ 08\ July\ 2021}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *\ Target\ Processor:\ Cortex-\/M\ and\ Cortex-\/A\ cores}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ ******************************************************************************/}}
\DoxyCodeLine{00008\ \textcolor{comment}{/*}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ *\ Copyright\ (c)\ 2010-\/2020\ Arm\ Limited\ or\ its\ affiliates.\ All\ rights\ reserved.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00011\ \textcolor{comment}{\ *\ SPDX-\/License-\/Identifier:\ Apache-\/2.0}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ *\ Licensed\ under\ the\ Apache\ License,\ Version\ 2.0\ (the\ License);\ you\ may}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ *\ not\ use\ this\ file\ except\ in\ compliance\ with\ the\ License.}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ *\ You\ may\ obtain\ a\ copy\ of\ the\ License\ at}}
\DoxyCodeLine{00016\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ *\ www.apache.org/licenses/LICENSE-\/2.0}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00019\ \textcolor{comment}{\ *\ Unless\ required\ by\ applicable\ law\ or\ agreed\ to\ in\ writing,\ software}}
\DoxyCodeLine{00020\ \textcolor{comment}{\ *\ distributed\ under\ the\ License\ is\ distributed\ on\ an\ AS\ IS\ BASIS,\ WITHOUT}}
\DoxyCodeLine{00021\ \textcolor{comment}{\ *\ WARRANTIES\ OR\ CONDITIONS\ OF\ ANY\ KIND,\ either\ express\ or\ implied.}}
\DoxyCodeLine{00022\ \textcolor{comment}{\ *\ See\ the\ License\ for\ the\ specific\ language\ governing\ permissions\ and}}
\DoxyCodeLine{00023\ \textcolor{comment}{\ *\ limitations\ under\ the\ License.}}
\DoxyCodeLine{00024\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \ }
\DoxyCodeLine{00027\ \textcolor{preprocessor}{\#ifndef\ \_FILTERING\_FUNCTIONS\_F16\_H\_}}
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#define\ \_FILTERING\_FUNCTIONS\_F16\_H\_}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_types\_f16.h"{}}}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#include\ "{}arm\_math\_memory.h"{}}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ \textcolor{preprocessor}{\#include\ "{}dsp/none.h"{}}}
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#include\ "{}dsp/utils.h"{}}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00037\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00038\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}}
\DoxyCodeLine{00039\ \{}
\DoxyCodeLine{00040\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00042\ \textcolor{preprocessor}{\#if\ defined(ARM\_FLOAT16\_SUPPORTED)}}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00047\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00048\ \ \ \{}
\DoxyCodeLine{00049\ \ \ \ \ \ \ \ \ \ \ uint16\_t\ numTaps;\ \ \ \ \ }
\DoxyCodeLine{00050\ \ \ \ \ \ \ \ \ \ \ float16\_t\ *pState;\ \ \ \ }
\DoxyCodeLine{00051\ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *pCoeffs;\ \ \ }
\DoxyCodeLine{00052\ \ \ \}\ arm\_fir\_instance\_f16;}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00062\ \ \ \textcolor{keywordtype}{void}\ arm\_fir\_init\_f16(}
\DoxyCodeLine{00063\ \ \ \ \ \ \ \ \ arm\_fir\_instance\_f16\ *\ S,}
\DoxyCodeLine{00064\ \ \ \ \ \ \ \ \ uint16\_t\ numTaps,}
\DoxyCodeLine{00065\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pCoeffs,}
\DoxyCodeLine{00066\ \ \ \ \ \ \ \ \ float16\_t\ *\ pState,}
\DoxyCodeLine{00067\ \ \ \ \ \ \ \ \ uint32\_t\ blockSize);}
\DoxyCodeLine{00068\ }
\DoxyCodeLine{00076\ \ \ \textcolor{keywordtype}{void}\ arm\_fir\_f16(}
\DoxyCodeLine{00077\ \ \ \textcolor{keyword}{const}\ arm\_fir\_instance\_f16\ *\ S,}
\DoxyCodeLine{00078\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pSrc,}
\DoxyCodeLine{00079\ \ \ \ \ \ \ \ \ float16\_t\ *\ pDst,}
\DoxyCodeLine{00080\ \ \ \ \ \ \ \ \ uint32\_t\ blockSize);}
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00086\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00087\ \ \ \{}
\DoxyCodeLine{00088\ \ \ \ \ \ \ \ \ \ \ uint32\_t\ numStages;\ \ \ \ \ \ }
\DoxyCodeLine{00089\ \ \ \ \ \ \ \ \ \ \ float16\_t\ *pState;\ \ \ \ \ \ \ }
\DoxyCodeLine{00090\ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *pCoeffs;\ \ \ \ \ \ }
\DoxyCodeLine{00091\ \ \ \}\ arm\_biquad\_casd\_df1\_inst\_f16;}
\DoxyCodeLine{00092\ }
\DoxyCodeLine{00093\ \textcolor{preprocessor}{\#if\ defined(ARM\_MATH\_MVEF)\ \&\&\ !defined(ARM\_MATH\_AUTOVECTORIZE)}\textcolor{preprocessor}{}}
\DoxyCodeLine{00097\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00098\ \ \ \{}
\DoxyCodeLine{00099\ \ \ \ \ \ \ float16\_t\ coeffs[12][8];\ }
\DoxyCodeLine{00100\ \ \ \}\ arm\_biquad\_mod\_coef\_f16;}
\DoxyCodeLine{00101\ \textcolor{preprocessor}{\#endif\ }}
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00110\ \ \ \textcolor{keywordtype}{void}\ arm\_biquad\_cascade\_df1\_f16(}
\DoxyCodeLine{00111\ \ \ \textcolor{keyword}{const}\ arm\_biquad\_casd\_df1\_inst\_f16\ *\ S,}
\DoxyCodeLine{00112\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pSrc,}
\DoxyCodeLine{00113\ \ \ \ \ \ \ \ \ float16\_t\ *\ pDst,}
\DoxyCodeLine{00114\ \ \ \ \ \ \ \ \ uint32\_t\ blockSize);}
\DoxyCodeLine{00115\ }
\DoxyCodeLine{00116\ \textcolor{preprocessor}{\#if\ defined(ARM\_MATH\_MVEF)\ \&\&\ !defined(ARM\_MATH\_AUTOVECTORIZE)}}
\DoxyCodeLine{00117\ \ \ \textcolor{keywordtype}{void}\ arm\_biquad\_cascade\_df1\_mve\_init\_f16(}
\DoxyCodeLine{00118\ \ \ \ \ \ \ arm\_biquad\_casd\_df1\_inst\_f16\ *\ S,}
\DoxyCodeLine{00119\ \ \ \ \ \ \ uint8\_t\ numStages,}
\DoxyCodeLine{00120\ \ \ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pCoeffs,\ }
\DoxyCodeLine{00121\ \ \ \ \ \ \ arm\_biquad\_mod\_coef\_f16\ *\ pCoeffsMod,\ }
\DoxyCodeLine{00122\ \ \ \ \ \ \ float16\_t\ *\ pState);}
\DoxyCodeLine{00123\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00125\ \ \ \textcolor{keywordtype}{void}\ arm\_biquad\_cascade\_df1\_init\_f16(}
\DoxyCodeLine{00126\ \ \ \ \ \ \ \ \ arm\_biquad\_casd\_df1\_inst\_f16\ *\ S,}
\DoxyCodeLine{00127\ \ \ \ \ \ \ \ \ uint8\_t\ numStages,}
\DoxyCodeLine{00128\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pCoeffs,}
\DoxyCodeLine{00129\ \ \ \ \ \ \ \ \ float16\_t\ *\ pState);}
\DoxyCodeLine{00130\ }
\DoxyCodeLine{00134\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00135\ \ \ \{}
\DoxyCodeLine{00136\ \ \ \ \ \ \ \ \ \ \ uint8\_t\ numStages;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00137\ \ \ \ \ \ \ \ \ \ \ float16\_t\ *pState;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00138\ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *pCoeffs;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00139\ \ \ \}\ arm\_biquad\_cascade\_df2T\_instance\_f16;}
\DoxyCodeLine{00140\ }
\DoxyCodeLine{00144\ \ \ \textcolor{keyword}{typedef}\ \textcolor{keyword}{struct}}
\DoxyCodeLine{00145\ \ \ \{}
\DoxyCodeLine{00146\ \ \ \ \ \ \ \ \ \ \ uint8\_t\ numStages;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00147\ \ \ \ \ \ \ \ \ \ \ float16\_t\ *pState;\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00148\ \ \ \ \ \textcolor{keyword}{const}\ float16\_t\ *pCoeffs;\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00149\ \ \ \}\ arm\_biquad\_cascade\_stereo\_df2T\_instance\_f16;}
\DoxyCodeLine{00150\ }
\DoxyCodeLine{00158\ \ \ \textcolor{keywordtype}{void}\ arm\_biquad\_cascade\_df2T\_f16(}
\DoxyCodeLine{00159\ \ \ \textcolor{keyword}{const}\ arm\_biquad\_cascade\_df2T\_instance\_f16\ *\ S,}
\DoxyCodeLine{00160\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pSrc,}
\DoxyCodeLine{00161\ \ \ \ \ \ \ \ \ float16\_t\ *\ pDst,}
\DoxyCodeLine{00162\ \ \ \ \ \ \ \ \ uint32\_t\ blockSize);}
\DoxyCodeLine{00163\ }
\DoxyCodeLine{00171\ \ \ \textcolor{keywordtype}{void}\ arm\_biquad\_cascade\_stereo\_df2T\_f16(}
\DoxyCodeLine{00172\ \ \ \textcolor{keyword}{const}\ arm\_biquad\_cascade\_stereo\_df2T\_instance\_f16\ *\ S,}
\DoxyCodeLine{00173\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pSrc,}
\DoxyCodeLine{00174\ \ \ \ \ \ \ \ \ float16\_t\ *\ pDst,}
\DoxyCodeLine{00175\ \ \ \ \ \ \ \ \ uint32\_t\ blockSize);}
\DoxyCodeLine{00176\ }
\DoxyCodeLine{00184\ \ \ \textcolor{keywordtype}{void}\ arm\_biquad\_cascade\_df2T\_init\_f16(}
\DoxyCodeLine{00185\ \ \ \ \ \ \ \ \ arm\_biquad\_cascade\_df2T\_instance\_f16\ *\ S,}
\DoxyCodeLine{00186\ \ \ \ \ \ \ \ \ uint8\_t\ numStages,}
\DoxyCodeLine{00187\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pCoeffs,}
\DoxyCodeLine{00188\ \ \ \ \ \ \ \ \ float16\_t\ *\ pState);}
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00197\ \ \ \textcolor{keywordtype}{void}\ arm\_biquad\_cascade\_stereo\_df2T\_init\_f16(}
\DoxyCodeLine{00198\ \ \ \ \ \ \ \ \ arm\_biquad\_cascade\_stereo\_df2T\_instance\_f16\ *\ S,}
\DoxyCodeLine{00199\ \ \ \ \ \ \ \ \ uint8\_t\ numStages,}
\DoxyCodeLine{00200\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pCoeffs,}
\DoxyCodeLine{00201\ \ \ \ \ \ \ \ \ float16\_t\ *\ pState);}
\DoxyCodeLine{00202\ }
\DoxyCodeLine{00211\ \ \ \textcolor{keywordtype}{void}\ arm\_correlate\_f16(}
\DoxyCodeLine{00212\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pSrcA,}
\DoxyCodeLine{00213\ \ \ \ \ \ \ \ \ uint32\_t\ srcALen,}
\DoxyCodeLine{00214\ \ \ \textcolor{keyword}{const}\ float16\_t\ *\ pSrcB,}
\DoxyCodeLine{00215\ \ \ \ \ \ \ \ \ uint32\_t\ srcBLen,}
\DoxyCodeLine{00216\ \ \ \ \ \ \ \ \ float16\_t\ *\ pDst);}
\DoxyCodeLine{00217\ }
\DoxyCodeLine{00218\ }
\DoxyCodeLine{00227\ \textcolor{keywordtype}{void}\ arm\_levinson\_durbin\_f16(\textcolor{keyword}{const}\ float16\_t\ *phi,}
\DoxyCodeLine{00228\ \ \ float16\_t\ *a,\ }
\DoxyCodeLine{00229\ \ \ float16\_t\ *err,}
\DoxyCodeLine{00230\ \ \ \textcolor{keywordtype}{int}\ nbCoefs);}
\DoxyCodeLine{00231\ }
\DoxyCodeLine{00232\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*defined(ARM\_FLOAT16\_SUPPORTED)*/}\textcolor{preprocessor}{}}
\DoxyCodeLine{00233\ \textcolor{preprocessor}{\#ifdef\ \ \ \_\_cplusplus}}
\DoxyCodeLine{00234\ \}}
\DoxyCodeLine{00235\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00236\ }
\DoxyCodeLine{00237\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ ifndef\ \_FILTERING\_FUNCTIONS\_F16\_H\_\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
